﻿namespace AbpProjectTemplate
{
    public class AppConsts
    {
        /// <summary>
        /// 资源名称
        /// </summary>
        public const string LocalizationSourceName = "App";
        /// <summary>
        /// 连接串名称
        /// </summary>
        public const string ConnectionStringName = "Default";
        /// <summary>
        /// 是否启用多租户(如果关闭多租户，不能访问租户的配置)
        /// </summary>
        public const bool MultiTenancyEnabled = false;
        /// <summary>
        /// 是否启用多语言（默认开启）
        /// </summary>
        public const bool LocalizationEnabled = true;
        /// <summary>
        /// 默认token加密key
        /// </summary>
        public const string DefaultPassPhrase = "gsKxGZ012HLL3MI5";
        /// <summary>
        /// 自定义配置目录
        /// </summary>
        public const string CustomerConfigFolder = "App_Data/configs";
        /// <summary>
        /// 上传目录
        /// </summary>
        public const string UploadFolder = "upload";

        public static class ClaimTypes
        {
            public const string UserTypeClaimType = "UserType";
        }
    }
}

